<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 1000px;
            height: 800px;
            background-image: url(image/3.png);
        }


        #div1 {

            border-image-repeat: repeat-x;


        }

        #div2 {
            background-attachment: fixed;
        }

        #div3 {
            background-position: center;
        }
    </style>
</head>
<body>
<!-- 文字显示大小为20px -->

<div id="div1"></div>

<div id="div2"></div>

<div id="div3"></div>


<!-- <img src="image/2.png" /> -->

</body>
</html>